class Rect {
  int height;
  int width;

  Rect()
      : height = 2,
        width = 10 {
    print("${this.height}---${this.width}");
  }

  get area {
    return this.height * this.width;
  }
}

void main() {
  Rect r = new Rect();
  print(r.area);
}
